{"ast":null,"code":"import * as React from 'react';\nimport Tooltip from '../../tooltip';\nvar EllipsisTooltip = function EllipsisTooltip(_ref) {\n  var enabledEllipsis = _ref.enabledEllipsis,\n    isEllipsis = _ref.isEllipsis,\n    children = _ref.children,\n    tooltipProps = _ref.tooltipProps;\n  if (!(tooltipProps === null || tooltipProps === void 0 ? void 0 : tooltipProps.title) || !enabledEllipsis) {\n    return children;\n  }\n  return /*#__PURE__*/React.createElement(Tooltip, Object.assign({\n    open: isEllipsis ? undefined : false\n  }, tooltipProps), children);\n};\nif (process.env.NODE_ENV !== 'production') {\n  EllipsisTooltip.displayName = 'EllipsisTooltip';\n}\nexport default EllipsisTooltip;","map":{"version":3,"names":["React","Tooltip","EllipsisTooltip","_ref","enabledEllipsis","isEllipsis","children","tooltipProps","title","createElement","Object","assign","open","undefined","process","env","NODE_ENV","displayName"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/typography/Base/EllipsisTooltip.js"],"sourcesContent":["import * as React from 'react';\nimport Tooltip from '../../tooltip';\nconst EllipsisTooltip = _ref => {\n  let {\n    enabledEllipsis,\n    isEllipsis,\n    children,\n    tooltipProps\n  } = _ref;\n  if (!(tooltipProps === null || tooltipProps === void 0 ? void 0 : tooltipProps.title) || !enabledEllipsis) {\n    return children;\n  }\n  return /*#__PURE__*/React.createElement(Tooltip, Object.assign({\n    open: isEllipsis ? undefined : false\n  }, tooltipProps), children);\n};\nif (process.env.NODE_ENV !== 'production') {\n  EllipsisTooltip.displayName = 'EllipsisTooltip';\n}\nexport default EllipsisTooltip;"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,OAAO,MAAM,eAAe;AACnC,IAAMC,eAAe,GAAG,SAAlBA,eAAe,CAAGC,IAAI,EAAI;EAC9B,IACEC,eAAe,GAIbD,IAAI,CAJNC,eAAe;IACfC,UAAU,GAGRF,IAAI,CAHNE,UAAU;IACVC,QAAQ,GAENH,IAAI,CAFNG,QAAQ;IACRC,YAAY,GACVJ,IAAI,CADNI,YAAY;EAEd,IAAI,EAAEA,YAAY,KAAK,IAAI,IAAIA,YAAY,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,YAAY,CAACC,KAAK,CAAC,IAAI,CAACJ,eAAe,EAAE;IACzG,OAAOE,QAAQ;EACjB;EACA,OAAO,aAAaN,KAAK,CAACS,aAAa,CAACR,OAAO,EAAES,MAAM,CAACC,MAAM,CAAC;IAC7DC,IAAI,EAAEP,UAAU,GAAGQ,SAAS,GAAG;EACjC,CAAC,EAAEN,YAAY,CAAC,EAAED,QAAQ,CAAC;AAC7B,CAAC;AACD,IAAIQ,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,EAAE;EACzCd,eAAe,CAACe,WAAW,GAAG,iBAAiB;AACjD;AACA,eAAef,eAAe"},"metadata":{},"sourceType":"module"}